WooCommerce\Square\Gateway\API\Requests\Orders S

Total Complexity 31
Dependencies 17
Dependents 1
Total lines 353
Lines of code 179
Logical lines of code 116
Comment lines 86
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_api_line_items()
A
45 9 39
apply_taxes()
S
59 5 14
set_create_order_data()
S
47 3 39
get_product_line_items()
S
64 3 10
get_fee_line_items()
S
64 3 10
get_shipping_line_items()
S
64 3 10
get_order_taxes()
S
60 2 13
add_discount_order_data()
S
54 1 21
add_line_item_order_data()
S
54 1 20
__construct()
S
80 1 3